iShell Help
Tribeworks > iShell > Commands >
  Enable
   
The Enable command enables or disables an element. Only front elements that are enabled and active will get mouse events. Hiding a container will deactivate all of the contents and make them act like they are disabled. Ordering an enabled and active element in front of another will block mouse events to any enabled and active elements that are stacked behind. The Enabled attribute only affects the immediate element - not the containers or contents. This command is equivalent to the Set Attribute Enabled command.

Options

  • Target Argument: The element to be enabled or disabled.
  • Mode Argument
    • Yes: Sets the Enabled attribute to true.
    • No: Sets the Enabled attribute to false.
    • Toggle: Sets the Enabled attribute to the opposite of what it is at that moment.